package com.roc.steelend.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.roc.steelend.pojo.ReconciliationSale;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;

@Repository
public interface ReconciliationSaleMapper  extends BaseMapper<ReconciliationSale> {

    List<HashMap<String, Object>> findReconciliationDataBySale(@Param("now") Integer now,
                                                              @Param("size") Integer size,
                                                              @Param("duiXiang") String duiXiang);


    Integer findReconciliationDataBySaleCount(
            @Param("duiXiang") String duiXiang);
}
